package cn.gson.crm.model.dao;

import java.util.List;

import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.CrudRepository;
import org.springframework.stereotype.Repository;

import cn.gson.crm.model.pojo.Sendgoodsform;

@Repository
public interface SgfDAO extends CrudRepository<Sendgoodsform, Long>{
	
	@Query("select s from Sendgoodsform s order by s.id desc")
	public List<Sendgoodsform> getAllSgf(Pageable pageable); 
}
